package com.xh.bussiness.exam.bean.request;

import com.xh.bussiness.tiku.bean.dto.QuestionDto;
import com.xh.core.bean.BaseRequestBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 用户错题本 查询bean
 * </p>
 *
 * @author JQM
 * @since 2019-11-04
 */
@Data
public class UserErrorQuestionRequest extends BaseRequestBean {

	@ApiModelProperty("题型")
	private Integer type;
	@ApiModelProperty("难度")
	private Integer difficult;
	@ApiModelProperty("是否订正")
	private Integer status;
	@ApiModelProperty("错题来源")
	private String questionSource;
	@ApiModelProperty("错题原因")
	private String errorReason;
	@ApiModelProperty("知识点Id")
	private String knowledgeId;
	@ApiModelProperty("知识点Id集合")
	private List<String> knowledgeIds;
	@ApiModelProperty("用户id")
	private String userId;
	@ApiModelProperty("学生id")
	private String studentId;
	@ApiModelProperty("开始时间")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date startDate;
	@ApiModelProperty("结束时间")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date endDate;
	@ApiModelProperty("试题")
	private QuestionDto questionDto;
	/**
	 * 由于分页查询试题参数格式有问题 单独声明到该dto
	 */
	private String subjectId;
	private long current;
	private long size;

	private String createDate;
	private String basicType;

	private String classId;

	private List<String> classIds;
	private String questionId;

	private String practiceId;

	/**
	 * 课程类型 1:班课；2：小组课；3一对一
	 **/
	private Integer LessonType;
}
